package com.project.system.domain.entity;

import com.project.common.domain.po.DbBase;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author : [chg]
 * @className : WarehousesUser
 * @description : []
 * @createTime : [2025/7/25 15:21]
 */
//@Entity
@Data
@Table(name = "tb_warehouse_user")
@org.hibernate.annotations.Table(appliesTo = "tb_warehouse_user", comment = "仓库员工")
public class WarehousesUser extends DbBase {
    @Column(columnDefinition = "bigint DEFAULT NULL COMMENT '仓库ID'")
    private Long warehouseId;

    @Column(columnDefinition = "bigint DEFAULT NULL COMMENT '用户ID'")
    private Long userId;

    @Column(columnDefinition = "int DEFAULT 0 COMMENT '是否删除（0-否，1-是）'")
    private Integer delFlag;
}
